package reseauserv;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;

import controleur.Controleur;

public class Reception implements Runnable {

	private BufferedReader in1;

	public Reception(BufferedReader in1) {
		this.in1 = in1;

	}

	public void run() {
		try {
			while (in1.readLine() != null) {
				synchronized (Controleur.threadMain) {
					Controleur.threadMain.notify();
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}

	}
}
